////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011-2012 www.iflytek.com. All Rights Reserved.
//  This software for customer relationship management system, developed by Iflytek_ZY team.
//  Software code and design for the team, copy rights reserved.
////////////////////////////////////////////////////////////////////////////////

package com.iflytek.ci.qams.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.iflytek.framework.web.jackson.CustomDateTimeSerializer;

/**
 * <p>
 * issue_comment DB domain
 * </p>
 * 
 * @author poplar.mdzhang
 * @since JDK 1.5
 */
public class Comment implements Serializable {
	/**
	 * serial version
	 */
	private static final long serialVersionUID = -8789657241196097435L;
	/** id */
	private long id;

	/** issue */
	private long issue;

	/** content */
	private String content;

	/** created time */
	@JsonSerialize(using = CustomDateTimeSerializer.class)
	private Date created;

	/** issue_lable */
	private long label;
	
	/** user id */
	private long uid;

	/** user name */
	private String uname;
	
	/**操作action_id*/
	private long action_id;
	
	public long getUid() {
		return uid;
	}

	public void setUid(long uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getIssue() {
		return issue;
	}

	public void setIssue(long issue) {
		this.issue = issue;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public long getLabel() {
		return label;
	}

	public void setLable(long label) {
		this.label = label;
	}

	/**
	 * 获取action的id值
	 * @return action_id
	 *         action的id
	 */
	public long getAction_id() {
		return action_id;
	}

	/**
	 * 设置action的id
	 * @param action_id
	 *          action的id，long类型
	 */
	public void setAction_id(long action_id) {
		this.action_id = action_id;
	}
}
